<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="renderer" content="webkit">
    <title>修改</title>
    <link rel="stylesheet" th:href="@{/css/pintuer.css}">
    <link rel="stylesheet" th:href="@{/css/admin.css}">
    <script th:src="@{/js/jquery.js}"></script>
    <script th:src="@{/js/pintuer.js}"></script>
</head>
<body>
<form method="post" th:action="@{/update}" id="listform">
    <div class="panel admin-panel">
        <div class="panel-head"><strong><span class="icon-pencil-square-o"></span>修改用户</strong></div>
        <div class="body-content">

                <input type="hidden" name="id" th:value="${user.id}"/>
                <div class="form-group">
                    <div class="label" style="">
                        <label>用户名：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input" name="name" th:value="${user.name}"
                               style="width:30%"/>
                        <div class="tips"></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label>密码：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input" name="password" th:value="${user.password}"
                               style="width:30%"/>
                    </div>
                </div>
<!--                <input type="hidden" name="status" th:value="${user.status=0}"/>-->

                <div class="form-group">
                    <div class="field">
                        <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                    </div>
                </div>

        </div>
    </div>
</form>
</body>
</html>